<template>
  <div>
    <el-button type="primary" @click="willAdd">添加</el-button>
    <!-- 列表 -->
    <v-list :list="list" @willUpdate="willUpdate"></v-list>
    <!-- 弹框 -->
    <v-form :status="status" ref="form"></v-form>
  </div>
  <!-- 1.拆分组件 -->
</template>
<script>
import { reqrolelist } from "../../http/api";
import vList from "./components/list.vue";
import vForm from "./components/form.vue";
import { mixin } from "../../mixins/index";
export default {
  components: {
    vList,
    vForm,
  },
  mixins: [mixin],
  props: [],
  data() {
    return {
      list: [],
    };
  },
  methods: {


    
  },
  mounted() {
 
  },
  computed: {},
  watch: {},
};
</script>
<style scoped lang="less">
@import "../../less/index.less";
</style>
